package zhangyu.world.voltaic.utils;

/**
 * @author: hxy
 * @date: 2017/10/24 10:16
 */
public enum ErrorEnum {
	/*
	 * 错误信息
	 * */
	E_400("400", "请求处理异常，请稍后再试"),
	E_500("500", "请求方式有误,请检查 GET/POST"),
	E_501("501", "请求路径不存在"),
	E_502("502", "权限不足"),
	E_10000("10000", "手机号格式错误"),
	E_10001("10001", "最多只能绑定3个私密直播间"),
	E_10002("10002", "直播间不存在"),
	E_10003("10003", "直播未开始"),
	E_10011("10011","最多存储三个地址，添加失败" ),


	E_10020("10020", "用户名不存在，请联系管理员"),
	E_10021("10021", "您的账号被禁用 请联系管理员"),


	E_10023("10023", "密码错误"),
	E_10024("10024", "原密码错误"),
	E_10025("10025", "密码不能少于6位"),
	E_10026("10026", "登录后重试"),
	E_10030("10030", "无token，请重新登录"),
	E_10035("10035", "token格式错误"),
	E_10031("10031", "用户不存在，请重新登录"),
	E_10032("10032", "该账号已被删除 请联系管理员"),
	E_10033("10033", "密码已更换，请重新登录"),
	E_10034("10034", "请输入正确手机号"),
	E_10009("10009", "账户已存在"),
	E_10008("10008", "该公司以存在管理员"),
	E_10022("10022", "上传文件失败"),
	E_10040("10040", "活动已删除"),
	E_10029("10029", "请选择用户权限"),
	E_10037("10037", "验证码为空"),
	E_10036("10036", "手机号为空"),
	E_10038("10038", "验证码错误"),
	E_10039("10039", "不是自己的信息不允许删除"),
	E_10041("10041", "商品已开启销售"),
	E_10042("10042", "商品未开启销售"),

	E_21111("21111", "该分类下还有主播，请先修改主播分类"),
	E_10050("10050", "抽奖活动已结束"),
	E_10070("10070", "正在申请中，请耐心等待"),
	E_10080("10080", "该用户已经被禁言"),
	E_20025("20025", "主播未被分类"),
	E_20026("20026", "可提现金额不足"),
	E_90003("90003", "缺少必填参数");




	private String errorCode;

	private String errorMsg;

	ErrorEnum(String errorCode, String errorMsg) {
		this.errorCode = errorCode;
		this.errorMsg = errorMsg;
	}

	public String getErrorCode() {
		return errorCode;
	}

	public String getErrorMsg() {
		return errorMsg;
	}

}